﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Net.Model.Entities.Enterprises;
using Net.Model.ViewModels.Basic;
using Net.Model.ViewModels.Licenses;

namespace Net.IService
{
    public interface ILicenseService: IBaseServices<AppLicenses>
    {
        Task<IPageList<LicenseDto>> QueryAppLicensesByEnterpriseName(string enterpriseName);

        Task<List<AppProductLine>> QueryProductLinesByLicenseIds(long[] licenseIds);

        Task<AppProductLine> AddProductLine(AppProductLine productLine);
    }
}
